package com.cgly.medical.mapper;

import com.cgly.medical.domain.MedicalPolicy;
import com.cgly.medical.model.CompanyPolicyModel;
import com.cgly.medical.model.MedicalPolicyModel;
import com.cgly.medical.param.CompanyPolicyParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: CGLY
 * @description:
 * @author: chen di
 * @create: 2022-08-17 19:24
 */
public interface MedicalPolicyMapper {

    public List<MedicalPolicy> findAll();

    public MedicalPolicyModel findById(@Param("id") Long id);

    public MedicalPolicy findByCityId(@Param("CityId") Long CityId);

    public int insert(MedicalPolicy medicalPolicy);

    public int deleteById( Long id);

    public int update(MedicalPolicy medicalPolicy);


    //查询所有医药公司政策
    List<MedicalPolicyModel> getAllMedicalPolicy(MedicalPolicy medicalPolicy);

}